Skip to content

Updating feature/plugins-poc-4 with last changes in develop - #8983

Merged
julceslauhub merged 86 commits into
feature/plugins-poc-4from
develop
Aug 10, 2026
Merged

Updating feature/plugins-poc-4 with last changes in develop#8983
julceslauhub merged 86 commits into
feature/plugins-poc-4from
develop

Conversation

@julceslauhub

Copy link
Copy Markdown
Contributor

No description provided.

eiresendez and others added 30 commits June 30, 2026 10:58
Introduce MicrosoftGraphTokenProvider to obtain and cache OAuth2 client-credentials tokens from Microsoft Graph. The provider validates required credentials, posts to the tenant token endpoint via Guzzle, throws a RuntimeException on missing creds or HTTP errors (propagating server error messages), and caches the access token for ~50 minutes using a server-specific cache key. Includes unit tests that assert exception behavior for missing credentials and mock Guzzle to verify token request parameters and caching behavior.
Add an optional Guzzle Client dependency to MicrosoftGraphTokenProvider so an HTTP client can be injected for testing. The constructor now accepts ?Client $httpClient and the provider uses $this->httpClient ?? new Client() when posting for tokens. Update the unit test to mock GuzzleHttp\Client (remove overload-based mock and separate-process annotations), import Client, and pass the mocked client into the provider. This enables dependency injection and simpler, more reliable tests.
…n and update configuration structure for scheduled jobs
Replace Mockery-based response mocks in MicrosoftGraphTokenProviderTest with an actual GuzzleHttp\Psr7\Response instance. Simplifies the test by providing a real PSR-7 response (200) with a JSON body and removes the need to mock getBody()/getContents() and getStatusCode(). Added the Response use statement.
Add Microsoft Graph token provider with client credentials flow and unit tests
Introduce Microsoft Graph mail support: add MicrosoftGraphTransport and MicrosoftGraphMessageConverter to send emails via the Graph API and a MicrosoftGraphTokenProvider to obtain access tokens. Integrate the transport into OauthMailManager (createTransport/createMicrosoftGraphTransport) and register a 'microsoft_graph' mailer in config/mail.php. Update the admin settings UI to show the authorization button when the mail driver is set to 'microsoft_graph'. The transport posts a sendMail payload to the Graph endpoint and throws a TransportException on HTTP errors.
Add Microsoft Graph Mail Transport and Configuration
Drop the use of Illuminate\Support\Facades\Cache and the Cache::remember call so getAccessToken always calls requestAccessToken.
Add convertAttachments() to MicrosoftGraphMessageConverter to map Symfony Email attachments to Microsoft Graph fileAttachment objects (name, contentType, contentBytes base64) and include them in toSendMailPayload when present.
Remove Microsoft Graph Configuration Caching
Include File Attachments in Microsoft Graph Emails
nolanpro and others added 27 commits August 3, 2026 15:02
FOUR-32333: Isolate DevLink progress by operation
FOUR-32393 REGRESSION>> The icon main disapperas with selections of t…
FOUR-32397: Add runtime Smart Extract configuration
feat(FOUR-32405): add Database Indexes to Improve Saved Searches Performance
FOUR-32416: API base URL keeps the old server when a process watcher is imported
FOUR-32329: Handle unavailable assets in DevLink bundles
FOUR-26166: [EPIC] Saved searches  Performance Improvements
Create custom executor in microservice after import
@julceslauhub
julceslauhub merged commit 9f07823 into feature/plugins-poc-4 Aug 10, 2026
6 of 8 checks passed
@gitguardian

gitguardian Bot commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
34069781 Triggered Generic Password a633694 resources/views/auth/passwords/reset.blade.php View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@processmaker-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.